package xml;

import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 * Interface to show that a given class can be exported to XML
 * @author Trevor Bastian
 * @date March 31, 2010
 * @version 4.0
 * 
 * @since version 4.0
 *
 */
public interface XMLizeable {
	/**
	 * Creates a xerces XML element
	 * @param doc The document to which we will eventually add this too 
	 * @return the XML element
	 */
	public abstract Element toXML (Document doc);
}
